package xin.lhuo.we.server.form;

import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @author Lhuo
 * @date 2019/5/5 15:03
 */
@Data
public class UserForm {
    @NotEmpty(message = "名称必填")
    private String username;

    @NotEmpty(message = "手机号必填")
    private String phone;

    @NotEmpty(message = "密码必填")
    private String password;
}
